package newapp.dob.com.dc_new_app.api;

import io.reactivex.Observable;
import newapp.dob.com.dc_new_app.api.bean.DealMoneyBean;
import newapp.dob.com.dc_new_app.api.bean.OrderDetailBean;
import newapp.dob.com.dc_new_app.api.bean.OrderDetailModel;
import newapp.dob.com.dc_new_app.api.bean.OrderListBean;
import newapp.dob.com.dc_new_app.api.bean.OrderListModel;
import newapp.dob.com.dc_new_app.api.bean.ResponModel;
import newapp.dob.com.dc_new_app.api.bean.UploadImageBean;
import newapp.dob.com.dc_new_app.api.bean.UploadImageModel;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Created by xsooy-pc on 2017/8/24.
 */

public interface ApiService {
    //1、线下充值列表
    @POST("api/paymentnotice/lists")
    Observable<OrderListModel> getOrderList(@Body OrderListBean item);

    //    、订单详情页
    @POST("api/paymentnotice/detail")
    Observable<OrderDetailModel> getOrderDetail(@Body OrderDetailBean item);

    //确认收钱
    @POST("api/paymentnotice/confirm")
    Observable<ResponseModel> getConfirm(@Body DealMoneyBean item);

    //    上传图片
    @POST("api/upload/image")
    Observable<UploadImageModel> uploadImg(@Body UploadImageBean item);
}
